/*
 * OnCommandJuzEvent.h
 *
 *  Created on: 2017年5月28日
 *      Author: orange
 */

#ifndef ONCOMMANDJUZEVENT_H_
#define ONCOMMANDJUZEVENT_H_

#include "JuzEvent.h"

static const int MAX_STR = 24;
class OnCommandJuzEvent: public JuzEvent {
public:
	OnCommandJuzEvent();
	virtual ~OnCommandJuzEvent();

	char* getCommand(int nLine);
	void setCommand(char *pStr);
	int getLen();

private:
	void checkAlloc();

public:
	static const char* mEventName;
private:
	char *mPstr[MAX_STR];
	int nCommandLen;
};

#endif /* ONCOMMANDJUZEVENT_H_ */
